.class Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;
.super Landroid/os/AsyncTask;
.source "UpdaterFragment.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/noshufou/android/su/UpdaterFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "UpdateTask"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/os/AsyncTask",
        "<",
        "Ljava/lang/Void;",
        "Ljava/lang/Object;",
        "Ljava/lang/Integer;",
        ">;"
    }
.end annotation


# static fields
.field private static synthetic $SWITCH_TABLE$com$noshufou$android$su$UpdaterFragment$Step:[I = null

.field public static final STATUS_AWAITING_ACTION:I = 0x1

.field public static final STATUS_CANCELLED:I = 0x8

.field public static final STATUS_CONN_FAILED:I = 0x5

.field public static final STATUS_FINISHED_FAIL:I = 0x3

.field public static final STATUS_FINISHED_FAIL_REMOUNT:I = 0x7f0b00ad

.field public static final STATUS_FINISHED_FAIL_SBIN:I = 0x7f0b00ac

.field public static final STATUS_FINISHED_NO_NEED:I = 0x4

.field public static final STATUS_FINISHED_SUCCESSFUL:I = 0x2


# instance fields
.field final synthetic this$0:Lcom/noshufou/android/su/UpdaterFragment;


# direct methods
.method static synthetic $SWITCH_TABLE$com$noshufou$android$su$UpdaterFragment$Step()[I
    .locals 3

    .prologue
    .line 150
    sget-object v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->$SWITCH_TABLE$com$noshufou$android$su$UpdaterFragment$Step:[I

    if-eqz v0, :cond_0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {}, Lcom/noshufou/android/su/UpdaterFragment$Step;->values()[Lcom/noshufou/android/su/UpdaterFragment$Step;

    move-result-object v0

    array-length v0, v0

    new-array v0, v0, [I

    :try_start_0
    sget-object v1, Lcom/noshufou/android/su/UpdaterFragment$Step;->DOWNLOAD_BUSYBOX:Lcom/noshufou/android/su/UpdaterFragment$Step;

    invoke-virtual {v1}, Lcom/noshufou/android/su/UpdaterFragment$Step;->ordinal()I

    move-result v1

    const/4 v2, 0x2

    aput v2, v0, v1
    :try_end_0
    .catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_1

    :goto_1
    :try_start_1
    sget-object v1, Lcom/noshufou/android/su/UpdaterFragment$Step;->DOWNLOAD_MANIFEST:Lcom/noshufou/android/su/UpdaterFragment$Step;

    invoke-virtual {v1}, Lcom/noshufou/android/su/UpdaterFragment$Step;->ordinal()I

    move-result v1

    const/4 v2, 0x1

    aput v2, v0, v1
    :try_end_1
    .catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_0

    :goto_2
    sput-object v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->$SWITCH_TABLE$com$noshufou$android$su$UpdaterFragment$Step:[I

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_2

    :catch_1
    move-exception v1

    goto :goto_1
.end method

.method private constructor <init>(Lcom/noshufou/android/su/UpdaterFragment;)V
    .locals 0
    .parameter

    .prologue
    .line 150
    iput-object p1, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/noshufou/android/su/UpdaterFragment;Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 150
    invoke-direct {p0, p1}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;-><init>(Lcom/noshufou/android/su/UpdaterFragment;)V

    return-void
.end method

.method static synthetic access$4(Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;)Lcom/noshufou/android/su/UpdaterFragment;
    .locals 1
    .parameter

    .prologue
    .line 150
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    return-object v0
.end method

.method private downloadFile(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 13
    .parameter "urlStr"
    .parameter "localName"

    .prologue
    const/4 v8, 0x0

    .line 654
    const/4 v1, 0x0

    .line 657
    .local v1, bis:Ljava/io/BufferedInputStream;
    :try_start_0
    new-instance v6, Ljava/net/URL;

    invoke-direct {v6, p1}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    .line 659
    .local v6, url:Ljava/net/URL;
    invoke-virtual {v6}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;

    move-result-object v7

    .line 660
    .local v7, urlCon:Ljava/net/URLConnection;
    new-instance v2, Ljava/io/BufferedInputStream;

    invoke-virtual {v7}, Ljava/net/URLConnection;->getInputStream()Ljava/io/InputStream;

    move-result-object v9

    invoke-direct {v2, v9}, Ljava/io/BufferedInputStream;-><init>(Ljava/io/InputStream;)V
    :try_end_0
    .catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_2

    .line 662
    .end local v1           #bis:Ljava/io/BufferedInputStream;
    .local v2, bis:Ljava/io/BufferedInputStream;
    :try_start_1
    new-instance v0, Lorg/apache/http/util/ByteArrayBuffer;

    const/16 v9, 0x32

    invoke-direct {v0, v9}, Lorg/apache/http/util/ByteArrayBuffer;-><init>(I)V

    .line 663
    .local v0, baf:Lorg/apache/http/util/ByteArrayBuffer;
    const/4 v3, 0x0

    .line 664
    .local v3, current:I
    :cond_0
    invoke-virtual {v2}, Ljava/io/BufferedInputStream;->read()I

    move-result v3

    const/4 v9, -0x1

    if-ne v3, v9, :cond_1

    .line 670
    invoke-virtual {v2}, Ljava/io/BufferedInputStream;->close()V

    .line 672
    invoke-virtual {p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v9

    if-eqz v9, :cond_2

    move-object v1, v2

    .line 698
    .end local v0           #baf:Lorg/apache/http/util/ByteArrayBuffer;
    .end local v2           #bis:Ljava/io/BufferedInputStream;
    .end local v3           #current:I
    .end local v6           #url:Ljava/net/URL;
    .end local v7           #urlCon:Ljava/net/URLConnection;
    .restart local v1       #bis:Ljava/io/BufferedInputStream;
    :goto_0
    return v8

    .line 665
    .end local v1           #bis:Ljava/io/BufferedInputStream;
    .restart local v0       #baf:Lorg/apache/http/util/ByteArrayBuffer;
    .restart local v2       #bis:Ljava/io/BufferedInputStream;
    .restart local v3       #current:I
    .restart local v6       #url:Ljava/net/URL;
    .restart local v7       #urlCon:Ljava/net/URLConnection;
    :cond_1
    int-to-byte v9, v3

    invoke-virtual {v0, v9}, Lorg/apache/http/util/ByteArrayBuffer;->append(I)V

    .line 666
    invoke-virtual {p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v9

    if-eqz v9, :cond_0

    move-object v1, v2

    .line 667
    .end local v2           #bis:Ljava/io/BufferedInputStream;
    .restart local v1       #bis:Ljava/io/BufferedInputStream;
    goto :goto_0

    .line 674
    .end local v1           #bis:Ljava/io/BufferedInputStream;
    .restart local v2       #bis:Ljava/io/BufferedInputStream;
    :cond_2
    const-string v9, "manifest"

    invoke-virtual {p2, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
    :try_end_1
    .catch Ljava/net/MalformedURLException; {:try_start_1 .. :try_end_1} :catch_4
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_3

    move-result v9

    if-eqz v9, :cond_3

    .line 676
    :try_start_2
    iget-object v9, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    new-instance v10, Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    iget-object v11, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v12, 0x0

    invoke-direct {v10, v11, v12}, Lcom/noshufou/android/su/UpdaterFragment$Manifest;-><init>(Lcom/noshufou/android/su/UpdaterFragment;Lcom/noshufou/android/su/UpdaterFragment$Manifest;)V

    #setter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v9, v10}, Lcom/noshufou/android/su/UpdaterFragment;->access$20(Lcom/noshufou/android/su/UpdaterFragment;Lcom/noshufou/android/su/UpdaterFragment$Manifest;)V

    .line 677
    iget-object v9, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v9}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v9

    new-instance v10, Lorg/json/JSONObject;

    new-instance v11, Ljava/lang/String;

    invoke-virtual {v0}, Lorg/apache/http/util/ByteArrayBuffer;->toByteArray()[B

    move-result-object v12

    invoke-direct {v11, v12}, Ljava/lang/String;-><init>([B)V

    invoke-direct {v10, v11}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    invoke-virtual {v9, v10}, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->populate(Lorg/json/JSONObject;)Z
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_0
    .catch Ljava/net/MalformedURLException; {:try_start_2 .. :try_end_2} :catch_4
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_3

    move-result v8

    move-object v1, v2

    .end local v2           #bis:Ljava/io/BufferedInputStream;
    .restart local v1       #bis:Ljava/io/BufferedInputStream;
    goto :goto_0

    .line 678
    .end local v1           #bis:Ljava/io/BufferedInputStream;
    .restart local v2       #bis:Ljava/io/BufferedInputStream;
    :catch_0
    move-exception v4

    .line 679
    .local v4, e:Lorg/json/JSONException;
    :try_start_3
    const-string v9, "Su.UpdaterFragment"

    const-string v10, "Malformed manifest file"

    invoke-static {v9, v10, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    move-object v1, v2

    .line 680
    .end local v2           #bis:Ljava/io/BufferedInputStream;
    .restart local v1       #bis:Ljava/io/BufferedInputStream;
    goto :goto_0

    .line 683
    .end local v1           #bis:Ljava/io/BufferedInputStream;
    .end local v4           #e:Lorg/json/JSONException;
    .restart local v2       #bis:Ljava/io/BufferedInputStream;
    :cond_3
    iget-object v9, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v9}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v9

    const/4 v10, 0x0

    invoke-virtual {v9, p2, v10}, Landroid/support/v4/app/FragmentActivity;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;

    move-result-object v5

    .line 684
    .local v5, outFileStream:Ljava/io/FileOutputStream;
    invoke-virtual {v0}, Lorg/apache/http/util/ByteArrayBuffer;->toByteArray()[B

    move-result-object v9

    invoke-virtual {v5, v9}, Ljava/io/FileOutputStream;->write([B)V

    .line 685
    invoke-virtual {v5}, Ljava/io/FileOutputStream;->close()V

    .line 686
    const-string v9, "busybox"

    invoke-virtual {p2, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_4

    .line 687
    iget-object v9, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    iget-object v10, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v10}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v10

    invoke-virtual {v10}, Landroid/support/v4/app/FragmentActivity;->getFilesDir()Ljava/io/File;

    move-result-object v10

    invoke-virtual {v10}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v10

    const-string v11, "/busybox"

    invoke-virtual {v10, v11}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    #setter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static {v9, v10}, Lcom/noshufou/android/su/UpdaterFragment;->access$21(Lcom/noshufou/android/su/UpdaterFragment;Ljava/lang/String;)V
    :try_end_3
    .catch Ljava/net/MalformedURLException; {:try_start_3 .. :try_end_3} :catch_4
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_3

    .line 698
    :cond_4
    const/4 v8, 0x1

    move-object v1, v2

    .end local v2           #bis:Ljava/io/BufferedInputStream;
    .restart local v1       #bis:Ljava/io/BufferedInputStream;
    goto :goto_0

    .line 691
    .end local v0           #baf:Lorg/apache/http/util/ByteArrayBuffer;
    .end local v3           #current:I
    .end local v5           #outFileStream:Ljava/io/FileOutputStream;
    .end local v6           #url:Ljava/net/URL;
    .end local v7           #urlCon:Ljava/net/URLConnection;
    :catch_1
    move-exception v4

    .line 692
    .local v4, e:Ljava/net/MalformedURLException;
    :goto_1
    const-string v9, "Su.UpdaterFragment"

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "Bad URL: "

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v10, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_0

    .line 694
    .end local v4           #e:Ljava/net/MalformedURLException;
    :catch_2
    move-exception v4

    .line 695
    .local v4, e:Ljava/io/IOException;
    :goto_2
    const-string v9, "Su.UpdaterFragment"

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "Problem downloading file: "

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v10, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_0

    .line 694
    .end local v1           #bis:Ljava/io/BufferedInputStream;
    .end local v4           #e:Ljava/io/IOException;
    .restart local v2       #bis:Ljava/io/BufferedInputStream;
    .restart local v6       #url:Ljava/net/URL;
    .restart local v7       #urlCon:Ljava/net/URLConnection;
    :catch_3
    move-exception v4

    move-object v1, v2

    .end local v2           #bis:Ljava/io/BufferedInputStream;
    .restart local v1       #bis:Ljava/io/BufferedInputStream;
    goto :goto_2

    .line 691
    .end local v1           #bis:Ljava/io/BufferedInputStream;
    .restart local v2       #bis:Ljava/io/BufferedInputStream;
    :catch_4
    move-exception v4

    move-object v1, v2

    .end local v2           #bis:Ljava/io/BufferedInputStream;
    .restart local v1       #bis:Ljava/io/BufferedInputStream;
    goto :goto_1
.end method


# virtual methods
.method protected varargs doInBackground([Ljava/lang/Void;)Ljava/lang/Integer;
    .locals 20
    .parameter "params"

    .prologue
    .line 172
    const/4 v12, 0x0

    .line 173
    .local v12, progressTotal:I
    const/4 v11, 0x0

    .line 175
    .local v11, progressStep:I
    invoke-static {}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->$SWITCH_TABLE$com$noshufou$android$su$UpdaterFragment$Step()[I

    move-result-object v14

    move-object/from16 v0, p0

    iget-object v15, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mCurrentStep:Lcom/noshufou/android/su/UpdaterFragment$Step;
    invoke-static {v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$4(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Step;

    move-result-object v15

    invoke-virtual {v15}, Lcom/noshufou/android/su/UpdaterFragment$Step;->ordinal()I

    move-result v15

    aget v14, v14, v15

    packed-switch v14, :pswitch_data_0

    .line 580
    const/4 v14, -0x1

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    :cond_0
    :goto_0
    return-object v14

    .line 177
    :pswitch_0
    const/4 v12, 0x4

    .line 178
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_1

    .line 179
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto :goto_0

    .line 181
    :cond_1
    add-int/lit8 v11, v11, 0x1

    .line 182
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x0

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 183
    const v16, 0x7f0b0098

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 182
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 184
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->MANIFEST_URL:Ljava/lang/String;
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$5(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v14

    const-string v15, "manifest"

    move-object/from16 v0, p0

    invoke-direct {v0, v14, v15}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->downloadFile(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v14

    if-eqz v14, :cond_2

    .line 185
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 186
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 185
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 195
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_3

    .line 196
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 188
    :cond_2
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x0

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 189
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 188
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 190
    const/4 v14, 0x5

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 198
    :cond_3
    add-int/lit8 v11, v11, 0x1

    .line 199
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 200
    const v16, 0x7f0b0099

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 199
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 201
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v14

    if-nez v14, :cond_4

    .line 202
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 203
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 202
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 204
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 206
    :cond_4
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 207
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 206
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 210
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_5

    .line 211
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 213
    :cond_5
    add-int/lit8 v11, v11, 0x1

    .line 214
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x2

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 215
    const v16, 0x7f0b009a

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 214
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 216
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v14

    iget-object v14, v14, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->version:Ljava/lang/String;

    if-eqz v14, :cond_6

    .line 217
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 218
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v16

    move-object/from16 v0, v16

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->version:Ljava/lang/String;

    move-object/from16 v16, v0

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 217
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 225
    :goto_1
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_7

    .line 226
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 220
    :cond_6
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x2

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 221
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 220
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    goto :goto_1

    .line 228
    :cond_7
    add-int/lit8 v11, v11, 0x1

    .line 229
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x3

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 230
    const v16, 0x7f0b009b

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 229
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 231
    invoke-static {}, Lcom/noshufou/android/su/util/Util;->getSuVersionCode()I

    move-result v7

    .line 232
    .local v7, installedVersionCode:I
    invoke-static {}, Lcom/noshufou/android/su/util/Util;->getSuVersion()Ljava/lang/String;

    move-result-object v6

    .line 233
    .local v6, installedVersion:Ljava/lang/String;
    if-nez v6, :cond_8

    .line 234
    const-string v6, "legacy"

    .line 236
    :cond_8
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v14

    iget v14, v14, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->versionCode:I

    if-ge v7, v14, :cond_9

    .line 237
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 238
    aput-object v6, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 237
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 239
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    sget-object v15, Lcom/noshufou/android/su/UpdaterFragment$Step;->DOWNLOAD_BUSYBOX:Lcom/noshufou/android/su/UpdaterFragment$Step;

    #setter for: Lcom/noshufou/android/su/UpdaterFragment;->mCurrentStep:Lcom/noshufou/android/su/UpdaterFragment$Step;
    invoke-static {v14, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$9(Lcom/noshufou/android/su/UpdaterFragment;Lcom/noshufou/android/su/UpdaterFragment$Step;)V

    .line 240
    const/4 v14, 0x1

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 242
    :cond_9
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 243
    aput-object v6, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 242
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 244
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    sget-object v15, Lcom/noshufou/android/su/UpdaterFragment$Step;->DOWNLOAD_BUSYBOX:Lcom/noshufou/android/su/UpdaterFragment$Step;

    #setter for: Lcom/noshufou/android/su/UpdaterFragment;->mCurrentStep:Lcom/noshufou/android/su/UpdaterFragment$Step;
    invoke-static {v14, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$9(Lcom/noshufou/android/su/UpdaterFragment;Lcom/noshufou/android/su/UpdaterFragment$Step;)V

    .line 245
    const/4 v14, 0x4

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 252
    .end local v6           #installedVersion:Ljava/lang/String;
    .end local v7           #installedVersionCode:I
    :pswitch_1
    invoke-static {}, Lcom/noshufou/android/su/util/Util;->getSuVersionCode()I

    move-result v14

    if-nez v14, :cond_a

    const/4 v3, 0x1

    .line 253
    .local v3, fixDb:Z
    :goto_2
    if-eqz v3, :cond_e

    .line 254
    const/16 v12, 0xe

    .line 255
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_b

    .line 256
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 252
    .end local v3           #fixDb:Z
    :cond_a
    const/4 v3, 0x0

    goto :goto_2

    .line 258
    .restart local v3       #fixDb:Z
    :cond_b
    const/4 v11, 0x1

    .line 259
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x0

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 260
    const v16, 0x7f0b009c

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 259
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 261
    const/4 v1, 0x0

    .line 263
    .local v1, db:Landroid/database/sqlite/SQLiteDatabase;
    :try_start_0
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v14}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v14

    .line 264
    const-string v15, "permissions.sqlite"

    const/16 v16, 0x0

    const/16 v17, 0x0

    .line 263
    invoke-virtual/range {v14 .. v17}, Landroid/support/v4/app/FragmentActivity;->openOrCreateDatabase(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    .line 267
    const-string v14, "CREATE TABLE IF NOT EXISTS apps (_id INTEGER, uid INTEGER, package TEXT, name TEXT, exec_uid INTEGER, exec_cmd TEXT,  allow INTEGER, PRIMARY KEY (_id), UNIQUE (uid,exec_uid,exec_cmd))"

    invoke-virtual {v1, v14}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V

    .line 270
    const-string v14, "CREATE TABLE IF NOT EXISTS logs (_id INTEGER, app_id INTEGER, date INTEGER, type INTEGER, PRIMARY KEY (_id))"

    invoke-virtual {v1, v14}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V

    .line 272
    const-string v14, "CREATE TABLE IF NOT EXISTS prefs (_id INTEGER, key TEXT, value TEXT, PRIMARY KEY (_id))"

    invoke-virtual {v1, v14}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Landroid/database/SQLException; {:try_start_0 .. :try_end_0} :catch_0

    .line 281
    if-eqz v1, :cond_c

    .line 282
    invoke-virtual {v1}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 285
    :cond_c
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 286
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 285
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 293
    .end local v1           #db:Landroid/database/sqlite/SQLiteDatabase;
    :goto_3
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_f

    .line 294
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 274
    .restart local v1       #db:Landroid/database/sqlite/SQLiteDatabase;
    :catch_0
    move-exception v2

    .line 275
    .local v2, e:Landroid/database/SQLException;
    :try_start_1
    const-string v14, "Su.UpdaterFragment"

    const-string v15, "Failed to fix database"

    invoke-static {v14, v15, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 276
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    const/16 v16, 0x0

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 277
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 276
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 278
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move-result-object v14

    .line 281
    if-eqz v1, :cond_0

    .line 282
    invoke-virtual {v1}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    goto/16 :goto_0

    .line 279
    .end local v2           #e:Landroid/database/SQLException;
    :catchall_0
    move-exception v14

    .line 281
    if-eqz v1, :cond_d

    .line 282
    invoke-virtual {v1}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 284
    :cond_d
    throw v14

    .line 288
    .end local v1           #db:Landroid/database/sqlite/SQLiteDatabase;
    :cond_e
    const/16 v12, 0xd

    .line 289
    const/4 v11, 0x0

    goto :goto_3

    .line 296
    :cond_f
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 297
    const v16, 0x7f0b009d

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 296
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 298
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->findBusybox()Z
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$10(Lcom/noshufou/android/su/UpdaterFragment;)Z

    move-result v14

    if-eqz v14, :cond_10

    .line 299
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 300
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 299
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 355
    :goto_4
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_15

    .line 356
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 302
    :cond_10
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 303
    const v16, 0x7f0b0093

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 302
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 304
    add-int/lit8 v12, v12, 0x2

    .line 306
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_11

    .line 307
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 309
    :cond_11
    add-int/lit8 v11, v11, 0x1

    .line 310
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 311
    const v16, 0x7f0b009e

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 310
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 312
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v14

    iget-object v14, v14, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->busyboxUrl:Ljava/lang/String;

    const-string v15, "busybox"

    move-object/from16 v0, p0

    invoke-direct {v0, v14, v15}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->downloadFile(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v14

    if-eqz v14, :cond_12

    .line 314
    :try_start_2
    new-instance v14, Ljava/lang/ProcessBuilder;

    const/4 v15, 0x0

    new-array v15, v15, [Ljava/lang/String;

    invoke-direct {v14, v15}, Ljava/lang/ProcessBuilder;-><init>([Ljava/lang/String;)V

    const/4 v15, 0x3

    new-array v15, v15, [Ljava/lang/String;

    const/16 v16, 0x0

    .line 315
    const-string v17, "chmod"

    aput-object v17, v15, v16

    const/16 v16, 0x1

    const-string v17, "755"

    aput-object v17, v15, v16

    const/16 v16, 0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    invoke-virtual {v14, v15}, Ljava/lang/ProcessBuilder;->command([Ljava/lang/String;)Ljava/lang/ProcessBuilder;

    move-result-object v14

    .line 316
    const/4 v15, 0x1

    invoke-virtual {v14, v15}, Ljava/lang/ProcessBuilder;->redirectErrorStream(Z)Ljava/lang/ProcessBuilder;

    move-result-object v14

    invoke-virtual {v14}, Ljava/lang/ProcessBuilder;->start()Ljava/lang/Process;

    move-result-object v10

    .line 317
    .local v10, process:Ljava/lang/Process;
    const-string v14, "Su.UpdaterFragment"

    new-instance v15, Ljava/lang/StringBuilder;

    const-string v16, "chmod 755 "

    invoke-direct/range {v15 .. v16}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v16

    invoke-virtual/range {v15 .. v16}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v15

    invoke-virtual {v15}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v15

    invoke-static {v14, v15}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 318
    invoke-virtual {v10}, Ljava/lang/Process;->waitFor()I

    .line 319
    invoke-virtual {v10}, Ljava/lang/Process;->destroy()V
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_1
    .catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_2} :catch_2

    .line 328
    .end local v10           #process:Ljava/lang/Process;
    :goto_5
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 329
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 328
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 338
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_13

    .line 339
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 320
    :catch_1
    move-exception v2

    .line 321
    .local v2, e:Ljava/io/IOException;
    const-string v14, "Su.UpdaterFragment"

    const-string v15, "Failed to set busybox to executable"

    invoke-static {v14, v15, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 322
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 323
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 322
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 324
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 325
    .end local v2           #e:Ljava/io/IOException;
    :catch_2
    move-exception v2

    .line 326
    .local v2, e:Ljava/lang/InterruptedException;
    const-string v14, "Su.UpdaterFragment"

    const-string v15, "Process interrupted"

    invoke-static {v14, v15, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_5

    .line 331
    .end local v2           #e:Ljava/lang/InterruptedException;
    :cond_12
    const-string v14, "Su.UpdaterFragment"

    const-string v15, "Failed to download busybox"

    invoke-static {v14, v15}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 332
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 333
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 332
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 334
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 341
    :cond_13
    add-int/lit8 v11, v11, 0x1

    .line 342
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 343
    const v16, 0x7f0b009f

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 342
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 344
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v0, p0

    iget-object v15, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static {v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v15

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v16

    move-object/from16 v0, v16

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->busyboxMd5:Ljava/lang/String;

    move-object/from16 v16, v0

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->verifyFile(Ljava/lang/String;Ljava/lang/String;)Z
    invoke-static/range {v14 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$12(Lcom/noshufou/android/su/UpdaterFragment;Ljava/lang/String;Ljava/lang/String;)Z

    move-result v14

    if-eqz v14, :cond_14

    .line 345
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 346
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 345
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    goto/16 :goto_4

    .line 348
    :cond_14
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 349
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 348
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 350
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 358
    :cond_15
    add-int/lit8 v11, v11, 0x1

    .line 359
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 360
    const v16, 0x7f0b00a0

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 359
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 361
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->whichSu()Ljava/lang/String;
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$13(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v5

    .line 362
    .local v5, installedSu:Ljava/lang/String;
    const-string v14, "Su.UpdaterFragment"

    new-instance v15, Ljava/lang/StringBuilder;

    const-string v16, "su installed to "

    invoke-direct/range {v15 .. v16}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v15, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v15

    invoke-virtual {v15}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v15

    invoke-static {v14, v15}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 363
    if-nez v5, :cond_16

    .line 364
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 365
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 364
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 366
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 367
    const v16, 0x7f0b00aa

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 366
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 368
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 369
    :cond_16
    const-string v14, "/sbin/su"

    invoke-virtual {v5, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-eqz v14, :cond_17

    .line 370
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 371
    aput-object v5, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 370
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 372
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 373
    const v16, 0x7f0b00ab

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 372
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 374
    const v14, 0x7f0b00ac

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 377
    :cond_17
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 378
    aput-object v5, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 377
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 381
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_18

    .line 382
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 384
    :cond_18
    add-int/lit8 v11, v11, 0x1

    .line 385
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 386
    const v16, 0x7f0b00a1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 385
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 388
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v14

    iget-object v14, v14, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->binaryUrl:Ljava/lang/String;

    const-string v15, "su"

    move-object/from16 v0, p0

    invoke-direct {v0, v14, v15}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->downloadFile(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v14

    if-eqz v14, :cond_19

    .line 389
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v14}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v14

    const-string v15, "su"

    invoke-virtual {v14, v15}, Landroid/support/v4/app/FragmentActivity;->getFileStreamPath(Ljava/lang/String;)Ljava/io/File;

    move-result-object v14

    invoke-virtual {v14}, Ljava/io/File;->toString()Ljava/lang/String;

    move-result-object v13

    .line 390
    .local v13, suPath:Ljava/lang/String;
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 391
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 390
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 399
    invoke-virtual/range {p0 .. p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v14

    if-eqz v14, :cond_1a

    .line 400
    const/16 v14, 0x8

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 393
    .end local v13           #suPath:Ljava/lang/String;
    :cond_19
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 394
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 393
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 395
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 402
    .restart local v13       #suPath:Ljava/lang/String;
    :cond_1a
    add-int/lit8 v11, v11, 0x1

    .line 403
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 404
    const v16, 0x7f0b009f

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 403
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 405
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v0, p0

    iget-object v15, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v15

    iget-object v15, v15, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->binaryMd5:Ljava/lang/String;

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->verifyFile(Ljava/lang/String;Ljava/lang/String;)Z
    invoke-static {v14, v13, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$12(Lcom/noshufou/android/su/UpdaterFragment;Ljava/lang/String;Ljava/lang/String;)Z

    move-result v14

    if-eqz v14, :cond_1c

    .line 406
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 407
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 406
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 414
    const/4 v10, 0x0

    .line 417
    .restart local v10       #process:Ljava/lang/Process;
    add-int/lit8 v11, v11, 0x1

    .line 418
    const/4 v14, 0x4

    :try_start_3
    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 419
    const v16, 0x7f0b00a2

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 418
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 420
    invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

    move-result-object v14

    const-string v15, "su"

    invoke-virtual {v14, v15}, Ljava/lang/Runtime;->exec(Ljava/lang/String;)Ljava/lang/Process;

    move-result-object v10

    .line 421
    new-instance v9, Ljava/io/DataOutputStream;

    invoke-virtual {v10}, Ljava/lang/Process;->getOutputStream()Ljava/io/OutputStream;

    move-result-object v14

    invoke-direct {v9, v14}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V

    .line 422
    .local v9, os:Ljava/io/DataOutputStream;
    new-instance v8, Ljava/io/BufferedReader;

    new-instance v14, Ljava/io/InputStreamReader;

    .line 423
    new-instance v15, Ljava/io/DataInputStream;

    invoke-virtual {v10}, Ljava/lang/Process;->getInputStream()Ljava/io/InputStream;

    move-result-object v16

    invoke-direct/range {v15 .. v16}, Ljava/io/DataInputStream;-><init>(Ljava/io/InputStream;)V

    invoke-direct {v14, v15}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V

    const/16 v15, 0x40

    .line 422
    invoke-direct {v8, v14, v15}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;I)V

    .line 425
    .local v8, is:Ljava/io/BufferedReader;
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/16 v15, 0x3e8

    const/16 v16, 0x4

    move/from16 v0, v16

    new-array v0, v0, [Ljava/lang/String;

    move-object/from16 v16, v0

    const/16 v17, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v18, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v18 .. v18}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v18

    aput-object v18, v16, v17

    const/16 v17, 0x1

    const-string v18, "touch /data/sutest &&"

    aput-object v18, v16, v17

    const/16 v17, 0x2

    .line 426
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v18, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v18 .. v18}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v18

    aput-object v18, v16, v17

    const/16 v17, 0x3

    const-string v18, "echo YEAH"

    aput-object v18, v16, v17

    .line 425
    move-object/from16 v0, v16

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;I[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v8, v15, v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$14(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;I[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 427
    .local v4, inLine:Ljava/lang/String;
    if-eqz v4, :cond_1b

    const-string v14, "YEAH"

    invoke-virtual {v4, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-nez v14, :cond_1d

    .line 428
    :cond_1b
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 429
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 428
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 430
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_3

    move-result-object v14

    .line 542
    :goto_6
    invoke-virtual {v10}, Ljava/lang/Process;->destroy()V

    goto/16 :goto_0

    .line 409
    .end local v4           #inLine:Ljava/lang/String;
    .end local v8           #is:Ljava/io/BufferedReader;
    .end local v9           #os:Ljava/io/DataOutputStream;
    .end local v10           #process:Ljava/lang/Process;
    :cond_1c
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 410
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 409
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 411
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 432
    .restart local v4       #inLine:Ljava/lang/String;
    .restart local v8       #is:Ljava/io/BufferedReader;
    .restart local v9       #os:Ljava/io/DataOutputStream;
    .restart local v10       #process:Ljava/lang/Process;
    :cond_1d
    const/4 v14, 0x5

    :try_start_4
    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 433
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 432
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 436
    add-int/lit8 v11, v11, 0x1

    .line 437
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 438
    const v16, 0x7f0b00a3

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 437
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 439
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x0

    const/16 v16, 0x1

    move/from16 v0, v16

    new-array v0, v0, [Ljava/lang/String;

    move-object/from16 v16, v0

    const/16 v17, 0x0

    new-instance v18, Ljava/lang/StringBuilder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v19, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v19 .. v19}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v19

    invoke-static/range {v19 .. v19}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v19

    invoke-direct/range {v18 .. v19}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v19, " mount -o remount,rw /system"

    invoke-virtual/range {v18 .. v19}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v18

    invoke-virtual/range {v18 .. v18}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v18

    aput-object v18, v16, v17

    move-object/from16 v0, v16

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v15, v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    .line 440
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x1

    new-array v15, v15, [Ljava/lang/String;

    const/16 v16, 0x0

    new-instance v17, Ljava/lang/StringBuilder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v18, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v18 .. v18}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v18

    invoke-static/range {v18 .. v18}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v18

    invoke-direct/range {v17 .. v18}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v18, " touch /system/su && "

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    .line 441
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v18, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v18 .. v18}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, " echo YEAH"

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    invoke-virtual/range {v17 .. v17}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    .line 440
    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v8, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 442
    if-eqz v4, :cond_1e

    const-string v14, "YEAH"

    invoke-virtual {v4, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-nez v14, :cond_1f

    .line 443
    :cond_1e
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 444
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 443
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 445
    const v14, 0x7f0b00ad

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_1
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_3

    move-result-object v14

    .line 542
    invoke-virtual {v10}, Ljava/lang/Process;->destroy()V

    goto/16 :goto_0

    .line 447
    :cond_1f
    const/4 v14, 0x5

    :try_start_5
    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 448
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 447
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 453
    add-int/lit8 v11, v11, 0x1

    .line 454
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 455
    const v16, 0x7f0b00a4

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 454
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 456
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x6

    new-array v15, v15, [Ljava/lang/String;

    const/16 v16, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x1

    const-string v17, "cp"

    aput-object v17, v15, v16

    const/16 v16, 0x2

    aput-object v13, v15, v16

    const/16 v16, 0x3

    const-string v17, "/system &&"

    aput-object v17, v15, v16

    const/16 v16, 0x4

    .line 457
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x5

    const-string v17, "echo YEAH"

    aput-object v17, v15, v16

    .line 456
    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v8, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 458
    if-eqz v4, :cond_20

    const-string v14, "YEAH"

    invoke-virtual {v4, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-nez v14, :cond_21

    .line 459
    :cond_20
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 460
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 459
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 461
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_6

    .line 463
    :cond_21
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 464
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 463
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 468
    add-int/lit8 v11, v11, 0x1

    .line 469
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 470
    const v16, 0x7f0b009f

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 469
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 471
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x2

    new-array v15, v15, [Ljava/lang/String;

    const/16 v16, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x1

    const-string v17, "md5sum /system/su"

    aput-object v17, v15, v16

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v8, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 472
    if-eqz v4, :cond_22

    const-string v14, " "

    invoke-virtual {v4, v14}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v14

    const/4 v15, 0x0

    aget-object v14, v14, v15

    move-object/from16 v0, p0

    iget-object v15, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v15

    iget-object v15, v15, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->binaryMd5:Ljava/lang/String;

    invoke-virtual {v14, v15}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-nez v14, :cond_23

    .line 473
    :cond_22
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 474
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 473
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 475
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_6

    .line 477
    :cond_23
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 478
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 477
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 481
    add-int/lit8 v11, v11, 0x1

    .line 482
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 483
    const v16, 0x7f0b00a5

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 482
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 484
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x5

    new-array v15, v15, [Ljava/lang/String;

    const/16 v16, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x1

    const-string v17, "chmod 06755 /system/su"

    aput-object v17, v15, v16

    const/16 v16, 0x2

    const-string v17, "&&"

    aput-object v17, v15, v16

    const/16 v16, 0x3

    .line 485
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x4

    const-string v17, "echo YEAH"

    aput-object v17, v15, v16

    .line 484
    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v8, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 486
    if-eqz v4, :cond_24

    const-string v14, "YEAH"

    invoke-virtual {v4, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-nez v14, :cond_25

    .line 487
    :cond_24
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 488
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 487
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 490
    :cond_25
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 491
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 490
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 494
    add-int/lit8 v11, v11, 0x1

    .line 495
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 496
    const v16, 0x7f0b00a6

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 495
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 497
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x6

    new-array v15, v15, [Ljava/lang/String;

    const/16 v16, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x1

    const-string v17, "mv /system/su"

    aput-object v17, v15, v16

    const/16 v16, 0x2

    aput-object v5, v15, v16

    const/16 v16, 0x3

    .line 498
    const-string v17, "&&"

    aput-object v17, v15, v16

    const/16 v16, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x5

    const-string v17, "echo YEAH"

    aput-object v17, v15, v16

    .line 497
    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v8, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 499
    if-eqz v4, :cond_26

    const-string v14, "YEAH"

    invoke-virtual {v4, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-nez v14, :cond_27

    .line 500
    :cond_26
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 501
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 500
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 502
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_6

    .line 504
    :cond_27
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 505
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 504
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 508
    add-int/lit8 v11, v11, 0x1

    .line 509
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 510
    const v16, 0x7f0b009f

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 509
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 512
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x3

    new-array v15, v15, [Ljava/lang/String;

    const/16 v16, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x1

    const-string v17, "md5sum"

    aput-object v17, v15, v16

    const/16 v16, 0x2

    aput-object v5, v15, v16

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v8, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 513
    if-eqz v4, :cond_28

    const-string v14, " "

    invoke-virtual {v4, v14}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v14

    const/4 v15, 0x0

    aget-object v14, v14, v15

    move-object/from16 v0, p0

    iget-object v15, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v15

    iget-object v15, v15, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->binaryMd5:Ljava/lang/String;

    invoke-virtual {v14, v15}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-nez v14, :cond_29

    .line 514
    :cond_28
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 515
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 514
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 516
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_6

    .line 518
    :cond_29
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 519
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 518
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 522
    add-int/lit8 v11, v11, 0x1

    .line 523
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 524
    const v16, 0x7f0b00a7

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 523
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 525
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x0

    const/16 v16, 0x2

    move/from16 v0, v16

    new-array v0, v0, [Ljava/lang/String;

    move-object/from16 v16, v0

    const/16 v17, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v18, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v18 .. v18}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v18

    aput-object v18, v16, v17

    const/16 v17, 0x1

    const-string v18, "mount -o remount,ro /system"

    aput-object v18, v16, v17

    move-object/from16 v0, v16

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v15, v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    .line 526
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const/4 v15, 0x4

    new-array v15, v15, [Ljava/lang/String;

    const/16 v16, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x1

    const-string v17, "touch /system/su ||"

    aput-object v17, v15, v16

    const/16 v16, 0x2

    .line 527
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v17, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mBusyboxPath:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Lcom/noshufou/android/su/UpdaterFragment;->access$11(Lcom/noshufou/android/su/UpdaterFragment;)Ljava/lang/String;

    move-result-object v17

    aput-object v17, v15, v16

    const/16 v16, 0x3

    const-string v17, "echo YEAH"

    aput-object v17, v15, v16

    .line 526
    #calls: Lcom/noshufou/android/su/UpdaterFragment;->executeCommand(Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v14, v9, v8, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$15(Lcom/noshufou/android/su/UpdaterFragment;Ljava/io/DataOutputStream;Ljava/io/BufferedReader;[Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 528
    if-eqz v4, :cond_2a

    const-string v14, "YEAH"

    invoke-virtual {v4, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v14

    if-nez v14, :cond_2b

    .line 529
    :cond_2a
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 530
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 529
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 531
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 532
    const v16, 0x7f0b00a9

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 531
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 538
    :goto_7
    const-string v14, "exit\n"

    invoke-virtual {v9, v14}, Ljava/io/DataOutputStream;->writeBytes(Ljava/lang/String;)V
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_1
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_3

    .line 542
    invoke-virtual {v10}, Ljava/lang/Process;->destroy()V

    .line 546
    .end local v4           #inLine:Ljava/lang/String;
    .end local v8           #is:Ljava/io/BufferedReader;
    .end local v9           #os:Ljava/io/DataOutputStream;
    :goto_8
    add-int/lit8 v11, v11, 0x1

    .line 547
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 548
    const v16, 0x7f0b009b

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 547
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 549
    invoke-static {}, Lcom/noshufou/android/su/util/Util;->getSuVersionCode()I

    move-result v7

    .line 550
    .restart local v7       #installedVersionCode:I
    invoke-static {}, Lcom/noshufou/android/su/util/Util;->getSuVersion()Ljava/lang/String;

    move-result-object v6

    .line 551
    .restart local v6       #installedVersion:Ljava/lang/String;
    if-nez v6, :cond_2c

    .line 552
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 553
    const v16, 0x7f0b0092

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 552
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 554
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 534
    .end local v6           #installedVersion:Ljava/lang/String;
    .end local v7           #installedVersionCode:I
    .restart local v4       #inLine:Ljava/lang/String;
    .restart local v8       #is:Ljava/io/BufferedReader;
    .restart local v9       #os:Ljava/io/DataOutputStream;
    :cond_2b
    const/4 v14, 0x5

    :try_start_6
    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 535
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 534
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_1
    .catch Ljava/io/IOException; {:try_start_6 .. :try_end_6} :catch_3

    goto/16 :goto_7

    .line 539
    .end local v4           #inLine:Ljava/lang/String;
    .end local v8           #is:Ljava/io/BufferedReader;
    .end local v9           #os:Ljava/io/DataOutputStream;
    :catch_3
    move-exception v2

    .line 540
    .local v2, e:Ljava/io/IOException;
    :try_start_7
    const-string v14, "Su.UpdaterFragment"

    const-string v15, "Failed to execute root commands"

    invoke-static {v14, v15, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    :try_end_7
    .catchall {:try_start_7 .. :try_end_7} :catchall_1

    .line 542
    invoke-virtual {v10}, Ljava/lang/Process;->destroy()V

    goto/16 :goto_8

    .line 541
    .end local v2           #e:Ljava/io/IOException;
    :catchall_1
    move-exception v14

    .line 542
    invoke-virtual {v10}, Ljava/lang/Process;->destroy()V

    .line 543
    throw v14

    .line 556
    .restart local v6       #installedVersion:Ljava/lang/String;
    .restart local v7       #installedVersionCode:I
    :cond_2c
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mManifest:Lcom/noshufou/android/su/UpdaterFragment$Manifest;
    invoke-static {v14}, Lcom/noshufou/android/su/UpdaterFragment;->access$8(Lcom/noshufou/android/su/UpdaterFragment;)Lcom/noshufou/android/su/UpdaterFragment$Manifest;

    move-result-object v14

    iget v14, v14, Lcom/noshufou/android/su/UpdaterFragment$Manifest;->versionCode:I

    if-ne v7, v14, :cond_2e

    .line 557
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 558
    aput-object v6, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 557
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 567
    add-int/lit8 v11, v11, 0x1

    .line 568
    const/4 v14, 0x4

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    add-int/lit8 v16, v11, -0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 569
    const v16, 0x7f0b00a8

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 568
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 570
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v14}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v14

    const-string v15, "busybox"

    invoke-virtual {v14, v15}, Landroid/support/v4/app/FragmentActivity;->deleteFile(Ljava/lang/String;)Z

    .line 571
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v14}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v14

    const-string v15, "su"

    invoke-virtual {v14, v15}, Landroid/support/v4/app/FragmentActivity;->deleteFile(Ljava/lang/String;)Z

    .line 572
    if-eqz v3, :cond_2d

    .line 573
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v14}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v14

    const-string v15, "permissions.sqlite"

    invoke-virtual {v14, v15}, Landroid/support/v4/app/FragmentActivity;->deleteDatabase(Ljava/lang/String;)Z

    .line 575
    :cond_2d
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 576
    const v16, 0x7f0b0091

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREEN:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$6(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 575
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 577
    const/4 v14, 0x2

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 560
    :cond_2e
    const/4 v14, 0x5

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x2

    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x3

    .line 561
    aput-object v6, v14, v15

    const/4 v15, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    move-object/from16 v16, v0

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static/range {v16 .. v16}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v16

    aput-object v16, v14, v15

    .line 560
    move-object/from16 v0, p0

    invoke-virtual {v0, v14}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->publishProgress([Ljava/lang/Object;)V

    .line 562
    move-object/from16 v0, p0

    iget-object v14, v0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    sget-object v15, Lcom/noshufou/android/su/UpdaterFragment$Step;->DOWNLOAD_BUSYBOX:Lcom/noshufou/android/su/UpdaterFragment$Step;

    #setter for: Lcom/noshufou/android/su/UpdaterFragment;->mCurrentStep:Lcom/noshufou/android/su/UpdaterFragment$Step;
    invoke-static {v14, v15}, Lcom/noshufou/android/su/UpdaterFragment;->access$9(Lcom/noshufou/android/su/UpdaterFragment;Lcom/noshufou/android/su/UpdaterFragment$Step;)V

    .line 563
    const/4 v14, 0x3

    invoke-static {v14}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v14

    goto/16 :goto_0

    .line 175
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method protected bridge varargs synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 1
    check-cast p1, [Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->doInBackground([Ljava/lang/Void;)Ljava/lang/Integer;

    move-result-object v0

    return-object v0
.end method

.method protected onCancelled()V
    .locals 2

    .prologue
    .line 650
    const-string v0, "Su.UpdaterFragment"

    const-string v1, "UpdaterTask cancelled"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 651
    return-void
.end method

.method protected onPostExecute(Ljava/lang/Integer;)V
    .locals 6
    .parameter "result"

    .prologue
    const v5, 0x7f0b0096

    const/4 v4, 0x1

    .line 607
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mTitleProgress:Landroid/widget/ProgressBar;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$1(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/ProgressBar;

    move-result-object v2

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 608
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mActionButton:Landroid/widget/Button;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$3(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/Button;

    move-result-object v2

    invoke-virtual {v2, v4}, Landroid/widget/Button;->setEnabled(Z)V

    .line 609
    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v2

    sparse-switch v2, :sswitch_data_0

    .line 646
    :goto_0
    return-void

    .line 611
    :sswitch_0
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mActionButton:Landroid/widget/Button;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$3(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/Button;

    move-result-object v2

    const v3, 0x7f0b008b

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setText(I)V

    .line 612
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mStatusText:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$2(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/TextView;

    move-result-object v2

    const v3, 0x7f0b0089

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 615
    :sswitch_1
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mActionButton:Landroid/widget/Button;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$3(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/Button;

    move-result-object v2

    const v3, 0x7f0b008c

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setText(I)V

    .line 616
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mStatusText:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$2(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/TextView;

    move-result-object v2

    const v3, 0x7f0b008a

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 619
    :sswitch_2
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mActionButton:Landroid/widget/Button;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$3(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/Button;

    move-result-object v2

    const v3, 0x7f0b008d

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setText(I)V

    .line 620
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mStatusText:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$2(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/TextView;

    move-result-object v2

    const v3, 0x7f0b0097

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(I)V

    .line 621
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v2}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    .line 622
    const-string v3, "notification"

    invoke-virtual {v2, v3}, Landroid/support/v4/app/FragmentActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    .line 621
    check-cast v1, Landroid/app/NotificationManager;

    .line 623
    .local v1, nm:Landroid/app/NotificationManager;
    invoke-virtual {v1, v4}, Landroid/app/NotificationManager;->cancel(I)V

    goto :goto_0

    .line 626
    .end local v1           #nm:Landroid/app/NotificationManager;
    :sswitch_3
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mActionButton:Landroid/widget/Button;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$3(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/Button;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/widget/Button;->setText(I)V

    .line 627
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mStatusText:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$2(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/TextView;

    move-result-object v2

    const v3, 0x7f0b0094

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 630
    :sswitch_4
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mActionButton:Landroid/widget/Button;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$3(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/Button;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/widget/Button;->setText(I)V

    .line 631
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mStatusText:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$2(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/TextView;

    move-result-object v2

    const v3, 0x7f0b0095

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(I)V

    goto/16 :goto_0

    .line 635
    :sswitch_5
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v2}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-direct {v0, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 636
    .local v0, builder:Landroid/app/AlertDialog$Builder;
    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {v0, v2}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 637
    const v3, 0x7f0b0017

    new-instance v4, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask$1;

    invoke-direct {v4, p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask$1;-><init>(Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;)V

    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 644
    invoke-virtual {v2}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v2

    invoke-virtual {v2}, Landroid/app/AlertDialog;->show()V

    goto/16 :goto_0

    .line 609
    nop

    :sswitch_data_0
    .sparse-switch
        0x1 -> :sswitch_0
        0x2 -> :sswitch_2
        0x3 -> :sswitch_3
        0x4 -> :sswitch_1
        0x5 -> :sswitch_4
        0x7f0b00ac -> :sswitch_5
        0x7f0b00ad -> :sswitch_5
    .end sparse-switch
.end method

.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    check-cast p1, Ljava/lang/Integer;

    invoke-virtual {p0, p1}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->onPostExecute(Ljava/lang/Integer;)V

    return-void
.end method

.method protected onPreExecute()V
    .locals 3

    .prologue
    const v2, 0x7f0b008e

    const/4 v1, 0x0

    .line 164
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mTitleProgress:Landroid/widget/ProgressBar;
    invoke-static {v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$1(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/ProgressBar;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 165
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mStatusText:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$2(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    .line 166
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mActionButton:Landroid/widget/Button;
    invoke-static {v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$3(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(I)V

    .line 167
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mActionButton:Landroid/widget/Button;
    invoke-static {v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$3(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 168
    return-void
.end method

.method protected varargs onProgressUpdate([Ljava/lang/Object;)V
    .locals 5
    .parameter "values"

    .prologue
    const/4 v4, 0x4

    const/4 v3, 0x3

    .line 585
    invoke-virtual {p0}, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->isCancelled()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 603
    :cond_0
    :goto_0
    return-void

    .line 588
    :cond_1
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-virtual {v0}, Lcom/noshufou/android/su/UpdaterFragment;->getListAdapter()Lcom/noshufou/android/su/UpdaterFragment$ConsoleAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/noshufou/android/su/UpdaterFragment$ConsoleAdapter;->notifyDataSetChanged()V

    .line 589
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mProgressBar:Landroid/widget/ProgressBar;
    invoke-static {v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$16(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/ProgressBar;

    move-result-object v1

    const/4 v0, 0x0

    aget-object v0, p1, v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/ProgressBar;->setMax(I)V

    .line 590
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mProgressBar:Landroid/widget/ProgressBar;
    invoke-static {v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$16(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/ProgressBar;

    move-result-object v1

    const/4 v0, 0x1

    aget-object v0, p1, v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/ProgressBar;->setProgress(I)V

    .line 591
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->mProgressBar:Landroid/widget/ProgressBar;
    invoke-static {v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$16(Lcom/noshufou/android/su/UpdaterFragment;)Landroid/widget/ProgressBar;

    move-result-object v1

    const/4 v0, 0x2

    aget-object v0, p1, v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/ProgressBar;->setSecondaryProgress(I)V

    .line 592
    array-length v0, p1

    if-ne v0, v4, :cond_2

    .line 593
    iget-object v1, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    aget-object v0, p1, v3

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->addConsoleEntry(I)V
    invoke-static {v1, v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$17(Lcom/noshufou/android/su/UpdaterFragment;I)V

    goto :goto_0

    .line 594
    :cond_2
    array-length v0, p1

    const/4 v1, 0x5

    if-ne v0, v1, :cond_0

    .line 595
    aget-object v0, p1, v3

    instance-of v0, v0, Ljava/lang/String;

    if-eqz v0, :cond_3

    .line 596
    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    aget-object v0, p1, v3

    check-cast v0, Ljava/lang/String;

    aget-object v1, p1, v4

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->addStatusToEntry(Ljava/lang/String;I)V
    invoke-static {v2, v0, v1}, Lcom/noshufou/android/su/UpdaterFragment;->access$18(Lcom/noshufou/android/su/UpdaterFragment;Ljava/lang/String;I)V

    goto :goto_0

    .line 597
    :cond_3
    aget-object v0, p1, v3

    instance-of v0, v0, Ljava/lang/Integer;

    if-eqz v0, :cond_4

    .line 598
    iget-object v1, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    aget-object v0, p1, v3

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v2

    aget-object v0, p1, v4

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->addStatusToEntry(II)V
    invoke-static {v1, v2, v0}, Lcom/noshufou/android/su/UpdaterFragment;->access$19(Lcom/noshufou/android/su/UpdaterFragment;II)V

    goto/16 :goto_0

    .line 600
    :cond_4
    iget-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    const v1, 0x7f0b0092

    iget-object v2, p0, Lcom/noshufou/android/su/UpdaterFragment$UpdateTask;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_RED:I
    invoke-static {v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$7(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v2

    #calls: Lcom/noshufou/android/su/UpdaterFragment;->addStatusToEntry(II)V
    invoke-static {v0, v1, v2}, Lcom/noshufou/android/su/UpdaterFragment;->access$19(Lcom/noshufou/android/su/UpdaterFragment;II)V

    goto/16 :goto_0
.end method
